<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>用户管理系统登录</title>
    <style>
        body {
            background-image: url('images/2c4ace5f4825a2ef1691ddbbb358664b0bb4f9f8.jpg');
            background-size: cover;
            background-position: unset; /* 图片居中显示 */
            background-repeat: no-repeat; /* 不重复显示背景图片 */

            margin: 0;
            padding: 0;
            font-family: Arial, sans-serif;
        }

        .login-container {
            width: 300px;
            margin: 100px auto;
            background-color: rgba(255, 255, 255, 0.8);
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        }

        .login-container h2 {
            text-align: center;
            color: #333;
        }

        .login-form {
            margin-top: 20px;
        }

        .form-group {
            margin-bottom: 15px;
        }

        .form-group label {
            display: block;
            font-size: 14px;
            color: #333;
            margin-bottom: 5px;
        }

        .form-group input {
            width: 95%;
            padding: 8px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }

        .form-group button {
            width: 100%;
            padding: 10px;
            background-color: #3498db;
            color: #fff;
            font-size: 16px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        .form-group button:hover {
            background-color: #2980b9;
        }
    </style>
</head>
<body>
<div class="login-container">
    <h2>用户管理系统</h2>
    <form class="login-form" action="http://127.0.0.1:8082/register" method="post">
        <div class="form-group">
            <label for="money">用户金额：</label>
            <input type="text" id="money" name="money" required>
        </div>
        <div class="form-group">
            <label for="username">姓名：</label>
            <input type="text" id="username" name="username" required>
        </div>
        <div class="form-group">
            <label for="userpass">密码：</label>
            <input type="password" id="userpass" name="userpass" required>
        </div>
        <div class="form-group">
            <button type="submit">注册</button>
            <a href="index.jsp">前往登录</a>
        </div>
    </form>
</div>
</body>
</html>
